<?php


abstract class Tool {
	var $name = '';
	var $url = '';
	var $logo = '';

	function __construct($inputArray) {		
		$this->name = $inputArray['name'];
		$this->url = $inputArray['url'];
		$this->logo = $inputArray['logo'];
		
		return $this;
	}
}

//$frameworks = array();

class Framework extends Tool { 
	
	public static $collection = array(); 
	
	function __construct($inputArray) {		
		parent::__construct($inputArray);
		array_push(self::$collection, $this);
	}
	
}

class Language extends Tool {
	
	public static $collection = array();
	
	function __construct($inputArray) {		
		parent::__construct($inputArray);
		array_push(self::$collection, $this);
	}

}

class Platform extends Tool {
	
	public static $collection = array();
	
	function __construct($inputArray) {		
		parent::__construct($inputArray);
		array_push(self::$collection, $this);
	}
}

class IDE extends Tool {
	
	public static $collection = array();
	
	function __construct($inputArray) {		
		parent::__construct($inputArray);
		array_push(self::$collection, $this);
	}
}

?>
